import React from "react";
import { Layout } from "antd";
import { Outlet } from "react-router-dom";
import CusHeader from "@/components/Header";

const { Content } = Layout;

const Frame: React.FC = () => {
  // const {
  //   token: { colorBgContainer },
  // } = theme.useToken();

  return (
    <Layout style={{ minHeight: "100vh" }}>
      <Layout>
        {/* 头部 */}
        <CusHeader />
        {/* 内容 */}
        <Content>
          <Outlet />
        </Content>
      </Layout>
    </Layout>
  );
};

export default Frame;
